package com.huabo.audit.oracle.entity;

import java.util.Date;
import java.util.Set;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@TableName("TBL_NBSJ_AUTHORIZATION")
@Data
@ApiModel("实体类")
@Accessors(chain = true)
public class TblNbsjAuthorizationEntity {
	
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY,generator = "select HIBERNATE_SEQUENCE.nextval from dual")  
	@TableId(value = "AUTHID", type= IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer authId;

    @TableField(value = "authStaff")
    @ApiModelProperty(value="")
    private TblStaff authStaff;
    
    @TableField(value = "teamStaff")
    @ApiModelProperty(value="")
    private TblNbsjTeamstaffEntity teamStaff;
    
    @TableField(value = "authTime")
    @ApiModelProperty(value="")
    private Date authTime;
    
    @TableField(value = "project")
    @ApiModelProperty(value="")
    private TblNbsjProject project;
    
    @TableField(value = "aduitProGram")
    @ApiModelProperty(value="")
    private TblAduitProGramEntity aduitProGram;
    
    @TableField(value = "nbsjOperate")
    @ApiModelProperty(value="")
    private Set<TblNbsjOperateEntity> nbsjOperate;

}
